<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%
    String path=request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
    %>
<!DOCTYPE html>
<html>
  
  <head>
    <meta charset="UTF-8">
    <title>欢迎页面-X-admin2.0</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
   
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link rel="stylesheet" href="./css/font.css">
    <link rel="stylesheet" href="./css/xadmin.css">
    <script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
    <script type="text/javascript" src="./lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="./js/xadmin.js"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
      <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
      <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <script type="text/javascript">
    	$("td-status")
    </script>
  </head>
  
  <body class="layui-anim layui-anim-up">
  
    <div class="x-nav">
      <span class="layui-breadcrumb">
        <a href="">首页</a>
        <a href="">进度审核</a>
        <a>
          <cite>垫付处理中心</cite></a>
      </span>
      <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" href="javascript:location.replace(location.href);" title="刷新">
        <i class="layui-icon" style="line-height:30px">ဂ</i></a>
    </div>
          <div style="text-align: center; margin-top: 1%"><h1>中国平安车险垫付处理中心</h1></div>
    
    <div class="x-body">
    <xblock>
     
      </xblock>
      <div class="layui-row">
          <input type="text" name="username"  placeholder="请输入用户名" autocomplete="off" class="layui-input">
          <button class="layui-btn"  lay-submit="" lay-filter="sreach"><i class="layui-icon">&#xe615;</i></button>
       </div>
     <form action="Advanced3.html"> 
      <table class="layui-table">
        <thead>
          <tr>
            <th>
              <div class="layui-unselect header layui-form-checkbox" lay-skin="primary"><i class="layui-icon">&#xe605;</i></div>
            </th>
           
            <th>报案编号</th>
            <th>报案人姓名</th> 
            <th>联系电话</th>
            <th>事故地址</th>
            <th>警方开具:垫付通知书</th>
            <th>勘查人</th>
          	<th>垫付金额</th>
            <th>状态</th>
           </tr>
        </thead>
        <tbody>
        
         <c:if test="${not empty personnellist2}">
         <h1></h1>
       <c:forEach items="${reportInfolist}" var="reportInfo">
         <c:forEach items="${personnellist2}" var="personnel">
         <c:forEach items="${dataAcquisitionlsit3}" var="dataAcquisition">
		<c:forEach items="${centerforadvancedlist4}" var="centerforadvanced">
          <tr>
            <td>
              <div class="layui-unselect layui-form-checkbox" lay-skin="primary" data-id='2'><i class="layui-icon">&#xe605;</i></div>
            </td>
            <td>${reportInfo.reportNo}</td>
            <td>${reportInfo.driverName}</td>
            <td>${reportInfo.reporTel}</td>
            <td>${reportInfo.dangerAddress}</td>
                <c:if test="${dataAcquisition.carKey ==1}"> 
            <td>有</td>
              </c:if> 
                 <c:if test="${dataAcquisition.carKey !=1}"> 
            <td >无</td>
                   </c:if>  
            <td>${personnel.personnelName}</td>
            <c:if test="${not empty reportInfo.advancePrices}">
            <td>${reportInfo.advancePrices}元</td>
 				</c:if>
            <c:if test="${ empty reportInfo.advancePrices}">
            <td>0元</td>
 				</c:if>
 			
            <td class="td-status">
            
              <c:if test="${not empty centerforadvancedlist4}">
            	<span>${centerforadvanced.centerforadvancedExamineAndVerify}</span>
            	  </c:if>
              </td> 
             		   
            
          </tr>
          </c:forEach>
          </c:forEach>
         </c:forEach>
      </c:forEach>
         </c:if>
        </tbody>
      </table>
       </form>
      <div class="page">
    
        <div>
          <a class="num" href="">首页</a>
          <a class="prev" href="">&lt;&lt;</a>
          <a class="next" href="">&gt;&gt;</a>
          <a class="num" href="">尾页</a>
        </div>
      </div>

    </div>
    <script>
	$(document).ready(function(){
		  $("td-manage b").click(function(){
		    	 var abcd= $("select option").val();
		    });
	})
       /*用户-停用*/
      function member_stop(){
			var a =$("option").val;       
     /*          if(index=="1"){
            	
                //发异步把用户状态进行更改
                $(obj).attr('title','申请中')
                $(obj).find('i').html('&#xe62f;');
                $(obj).parents("tr").find(".td-status").find('span').addClass('layui-btn-disabled').html('申请中');
                layer.msg('申请中!',{icon: 5,time:1000});
              }else if(index=="2"){
            	   //发异步把用户状态进行更改
                  $(obj).attr('title','申请中')
                  $(obj).find('i').html('&#xe62f;');
                  $(obj).parents("tr").find(".td-status").find('span').addClass('layui-btn-disabled').html('已审核');
                  layer.msg('已审核!',{icon: 5,time:1000});
              }else if(index=="3")
              {
                $(obj).attr('title','不通过')
                $(obj).find('i').html('&#xe601;');

                $(obj).parents("tr").find(".td-status").find('span').removeClass('layui-btn-disabled').html('不通过');
                layer.msg('不通过!',{icon: 5,time:1000});
              }
              
          }); */
      
          }
      



  
    </script>
    
  </body>

</html>